from privileges import  Privileges
from user import User

class Admin(User):
    def __init__(self,name):
        super().__init__(name)
        self.privileges = Privileges()

    def print_privileges(self):
        print(str(self.name) + ' has those privileges:' + self.privileges.to_string())

if __name__ == '__main__':
    me = Admin('super man')
    me.print_privileges()